package com.laycoding.layrpc.handler.client.retry;

/**
 * created with IntelliJ IDEA.
 *
 * @author: guidada
 * @date: 2021/07/09/16:01
 * @description:
 */
public interface  RetryPolicyService {

    boolean allowRetry(int retryCount);

    long getSleepTimeMs(int retryCount);

}
